package org.hcyspartnoc.luoxin.pojo.dto.system;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
public class SysUserModifyBaseInfoDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "昵称不能为空")
    @Length(min = 1, max = 20, message = "昵称长度1-20")
    private String nickname;
}
